package com.paomi.client.fragment.first.model;

import com.paomi.client.activity.newsDetail.model.NewsListJson;
import com.paomi.client.bean.BaseJSON;

import java.io.Serializable;
import java.util.List;

/**
 * Created by pc on 2018/11/7
 * Describe:资讯列表的数据
 * "returnData": {
 * "data": [
 * {
 * "total_focus": 20,//关注数
 * "img": "http://image.mydeershow.com/upload/image/20181025/bf436c3a-a1f9-4bb4-989f-36ddbfeb9970.jpg",//图片
 * "author": "11",//作者
 * "id": 22,//主键ID
 * "source": "11",//来源
 * "title": "111"//标题
 * }
 * ],
 * "count": 1//搜索总数
 * }
 * com.paomi.client.fragment.first.model
 */
public class NewsJson extends BaseJSON {
    private NewsBean returnData;

    public NewsBean getReturnData() {
        return returnData;
    }

    public void setReturnData(NewsBean returnData) {
        this.returnData = returnData;
    }

    public static class NewsBean implements Serializable {
        private List<NewsListJson> data;
        private String count;

        public String getCount() {
            return count;
        }

        public void setCount(String count) {
            this.count = count;
        }

        public List<NewsListJson> getData() {
            return data;
        }

        public void setData(List<NewsListJson> data) {
            this.data = data;
        }
    }
}
